import { StyleSheet, Dimensions } from 'react-native';

const totalWidth = Dimensions.get('window').width;

const styles = StyleSheet.create({
  container: {
    flex: 1,
  },
  barViewStyle: {
    width: totalWidth - 40,
    height: 50,
    backgroundColor: 'grey',
    borderRadius: 25,
    left: 20,
    top: 50,
    flexDirection: 'row'
  },
  buttonViewStyle: { // 未指定宽度，使用父组件样式的可用全部宽度
    width: 48,
    height: 48,
    borderRadius: 24,
    backgroundColor: 'white',
    left: 1,
    top: 1,
  },
});

export default styles;
